Euclid's RPN Online User Manual

Welcome to Euclid's RPN Version 5


Euclid's RPN was designed to:

When you launch Euclid it places an icon in the system tray on the task bar, then waits for you to click the icon or press the "HotKey" to open the calculator. When you close the calculator it resumes its role as an icon on the task bar ready for use the next time it's needed.

If you are not familiar with RPN calculators you may want to read this Introduction to RPN. before continuing.

RPN is easy to use, it's powerful and it's fun.

If you are familiar with RPN then the following sections will introduce you to this version, Euclid's RPN.

HotKey

The hotkey is a particular combination of keys selected and assigned by Euclid to provide keyboard access to the calculator from other applications. Clicking the Euclid icon in the system tray or pressing the hotkey opens the calculator or makes it the active application if its already open. The control key [Ctrl] and the number pad [+] are the keys assigned as the hotkey by the calculator program.

Active keys

Most of the keys on the keyboard are incorporated for use by the calculator. The following table lists the details of the key assignments that are active while the calculator is in use.

Active Key Table
Cursor Keys
- Up, down, left, & right arrow keys move the calculator display on the screen.
[Esc]-Pressing Escape closes the calculator to the system tray, returning control to other running applications. If Euclid has active windows
[Back Space]-Deletes the most recent character or digit typed from the current entry in progress. The back space action is applied first to an incomplete command, then to the number in the entry register. If neither exists the backspace key has no effect.
[ Del ] - Deletes the entire current entry in progress. If no current entry exists then the Del key removes the value in the x register from the stack.
[+], [-], [*], [/] - Add, subtract, multiply and divide math operator keys
[ % ]-Percent - Calculates X percent of Y.
[ ^ ] - Y x - Raises Y to the power of X.
[ $ ] - Toggles the automatic decimal point entry mode on/off - This currency mode or "Money Mode" allows dollar and cent amounts to be entered with or without a decimal point. (A decimal point is automatically inserted if a number is entered without one). This mode is useful when dealing with money matters such as checkbooks, invoices, etc. Automatic decimal point insertion only occurs when a number is entered directly by pressing the enter key, or in conjunction with the addition and subtraction operators. The operation of any of the transcendental functions cancels the money mode.

Numbers are displayed as a currency amount (with dollar signs*) as a visual indication that the money mode is active. The currency mode takes president over the fix setting
* The exact currency format used for display depends on the system settings in the International section of the Windows Control Panel.

[.], [0]..[9]- Number entry
[a]..[z],
[A..[Z]
- Command entry - In addition to the keys assignments for many of the math operators and functions, every control, mode setting, and math function is associated with a three character command which can be typed for mouse free operation. (see the command table for a complete list and details of the available commands).
Enter Key,
Space or
Comma
- The Enter Key or the Space Bar terminates numeric entry (places the number on the stack) or, in the absence of a pending entry, places a copy of the previous entry or result on the stack.
A comma between two numbers allows both numbers to be entered with a single entry. (This is useful for certain operations) Also, all operators whether typed, keyed or clicked will terminate any pending numeric entry before executing its assigned operation.
[Ctrl] + [C] - Copy as Text - Copies the answer from the display to the windows clipboard as text (with commas, dollar signs, etc.)
[Ctrl] + [X]-Copy as Number - Copies the answer from the x register as a number (no commas, dollar signs, etc.) to the windows clipboard. (For spread sheets or other programs which won't accept formatted numbers).
[Ctrl]+[V]-Paste - Enters a copy of a number in the windows clipboard into the stack entry register. (if the clipboard does not contain something that can be interpreted as a number the paste key has no effect)

Mouse Operations

Aside from the obvious use of the mouse to operate the calculator, the mouse also provides some control of the calculator display and access to Euclid's menus.


Control Menus

Copy/Paste Menu
Copy as Text-Copies the answer from the calculator display to the windows clipboard as text (with commas, dollar signs, etc.)
Copy as Number-Copies the answer from the the calculator display register as a pure number (no commas, dollar signs, etc.) to the windows clipboard. (For spread sheets or other programs which won't accept formatted numbers).
Paste-If the windows clipboard contains something that can be interpreted as a number, selection of this menu item places a copy of that number into the stack entry register, otherwise the paste function has no effect.

Options Menu
MicroDisplay - Toggle between Full Calculator display or Micro Display.
Hints - Turns hints on or off. Hints indicate the function of the control under the mouse pointer. default is on (checked)
Show Stack - select this item to view the Stack window. (the Stack Registers displayed in a separate window).
$ Auto - Clicking this menu option switches between automatic and normal decimal point entry for the Enter, Add, and Subtract operations. The automatic decimal point entry mode is useful for money matters.. checkbooks, invoices, etc. The [$] key also switches this mode on/off. $ Auto mode is automatically canceled by the operation of any transcendental function.
Close on Copy - If this mode is set (checked) activation of either copy function via one of the copy keys or the copy menu will close the the calculator hopefully returning you to the application where you intended to use the copied answer. Default is off (unchecked).
Trigonomic Mode - Sets the calculator's trigonomic mode to use degrees or radians. (default is degrees)
Tax Rate - Provides a dialog to set the tax rate used for the tax function
Information About Euclid - Opens an About Euclid box where the program Name, version, copyright, serial number, and information about online support, updates, and registration are provided.

Keyboard Commands

Euclid has associated a command for each math function, operation, or control that is supported by the calculator. Each command consists of a three character symbol which executes or applies the appropriate math function or operation when the command is typed*. The following table lists and describes each command. *(The command symbols may be typed in either upper or lower case)

X and Y as used in the table descriptions generally refer to the values in the x or y registers.

Command Table (commands that do not have a corresponding function button on the display are marked in the table with an asterisk)
CLX - Clears the current entry from the entry register (if one exists) or else removes and discards the most recent entry on the stack (the x register).
CLR - Clears all of the calculator stack registers.
FIX [n] - Sets the display precision to n digits. (prompts for and expects a one digit entry for n)
Note: the currency mode overides this setting while it is in effect.
CHS - Change Sign changes the sign of an entry in progress, if there is one, otherwise it changes the sign of the number in the x register.
POL - Converts rectangular coordinates (x,y) which it expects to be in the x and y registers to polor coordinates (radius,angle). placing the resulting angle in the y register and the resulting radius in the x register. The angle is expressed in either degrees or radiums depending on calculator's current trigonomic mode. (Default mode is degrees).
REC - Converts polor coordinates (radius,angle) to rectangular coordinates (x,y). Expects the angle to be in the y register and the radius to be in the x register. The angle must be expressed in the proper unit (degrees or radians) according to the calculator's current trigonomic mode. (Default mode is degrees).
PIE - Enters the mathematical constant pi (Sorry, but I had to have 3 characters for the command)
TAX - Calculates the tax on the number in x based on the currently set tax rate and enters the result on the stack. the addition command [+] can then be performed to add the tax to the amount taxed)
LOG - Calculates the log base 10 of x (logarithm)
EXP - Calculates the antilog base 10 of x (exponent)
LNA - Calculates the natural logarithm of x (log base e);
ANL - Calculates the antilog base e of X
SIN - Sine(x), calculates the sine of x.
*ASN - ArcSine(x), calculates the inverse sine of x. (SIN-1)
COS - Cosine(x) , calculates the cosine x.
*ACS - ArcCosine(x), calculates the inverse cosine of x.(COS-1)
TAN - Tangent(x), calculates the tangent of x.
*ATN - ArcTangent(x), calculates the inverse tangent of x. (TAN-1)
COT - Cotangent(x), calculates the cotangent of x.
*ACT - Arc cotangent, calculates the inverse cotangent of x. (COT-1)
STO - Store(x) places a copy of x in the memory register for later recall.
RCL - Recall(x), places a copy of the number in the memory register on the stack.
LST - Last X recalls the previous value of x.
RCP - Reciprocal of X, 1 divided by x;
PWR - Y x, Raise y to power of x. (can also use the "^" key)
PCT - Percent(%), Calculates x percent of y. (can also use the "%" key)
*SQR - X 2
*SRT - Square root of X
CUR -The Currency Mode toggles the automatic decimal point entry on/off - This "Money Mode" allows dollar and cent amounts to be entered with or without a decimal point. (A decimal point is automatically inserted if a number is entered without one). This mode is useful when dealing with money matters such as checkbooks, invoices, etc. Automatic decimal point insertion only occurs when a number is entered directly by pressing the enter key, or by the addition and subtraction operators. The operation of any of the transcendental functions cancels the money mode. Numbers are displayed as a currency amount (with dollar signs, etc.) as a visual indication that the money mode is active. (The "$" key also toggles this mode)
*RAD - Converts X from degrees to radians.
*DEG - Converts X from radians to degrees.
XCH - Exchanges (swaps) the contents of the x and y registers.
*STK - The Stack command shows or hides stack display (a window which shows the contents of the stack registers).
DSP - The Display command switches the apearence of the calculator between the full calculator display and the MicroDisplay (the MicroDisplay mode shrinks the calculator to show only the answer display panel and the last command panel).

Euclid's RPN Financial Calculator The use of any of the financial operators shown below opens the financial calculator panel. While visible the financial panel displays the values of the five financial registers and the function buttons used to enter and/or calculate these values. The financial registers are independent dedicated registers and though they share the entry display register with the stack they are not part of the stack.

PVL - The Present Value function will place a pending entry into the present value register rather than on the stack, displaying the value on the financial panel. If a value is not waiting in the entry register, this function will attempt to calculate the value based on the current value of the other four financial factors. The PVL function will display the finance panel if necessary before executing the command.
APR - Annual Percentage Rate - The APR function will place a pending entry into the APR register and display the value on the financial panel. If a value is not waiting in the entry register the calculator will attempt to calculate the value based on the the current value of the other four financial factors. The APR function will display the finance panel if necessary before executing the command.
TRM - Term - The TRM function will place a pending entry into TRM register and display the value on the financial panel. If a value is not waiting in the entry register the calculator will attempt to calculate the value based onthe current value of the other four financial factors. The TRM function will display the finance panel if necessary before executing the command.
Note: The term of a loan or lease is converted and used internally as number of payments. Entry of this value can be accomplished by entering years (3.25 for 3 years 3 months) or entering years and months separated by a comma (3,8 for 3 years 8 months). You can enter a term in months if desired by entering a 0 for the years. (0,360 Entering a 30 year term as months) Regardless of how it is entered Euclid will convert it and display it as years and months on the finance panel.
PMT - Payment - The PMT function button will place a pending entry into PMT register and display the value on the financial panel. If a value is not waiting in the entry register the calculator will attempt to calculate the value based the current value of the other four financial factors. Typing the PMT command will display the finance panel if necessary before executing the command.
FVL - Future Value - The FVL function will place a pending entry into the future value register rather than on the stack, displaying the value on the financial panel. If a value is not waiting in the entry register, this function will attempt to calculate the value based on the current value of the other four financial factors. The FVL function will display the finance panel if necessary before executing the command.
*FIN - This command shows the financial calculator panel. which displays the value of the five financial factors and the financial function buttons used to enter or calculate these values.
*SCH - Amortization Schedule - This command opens a window on which it lists an amortization schedule based on the displayed financial factors.
*RPN - The RPN command hides the financial panel and returns to the normal RPN calculator display.


Installation & Configuration

Installation

To Install Euclid's RPN Calculator on your computer you should download or copy the instalation program to your computer.

The installation program creates a folder for Euclid in the program files folder on your computer and adds shortcuts on your DeskTop screen and Start menu. You should move or copy the DeskTop shortcut to your startup folder so Euclid automatically runs when you restart or power up your computer.

Configuration

The only configuration nessesary for Euclid is the tax rate. You should change Euclid's 8.25% default tax rate to reflect your local sales tax rate before using the tax function.

To set Euclid's tax rate


Using Euclid's RPN

Reverse Polish Notation (RPN) is extreamly easy to use but it's a bit confusing at first. You don't enter a complete problem and then press the equal key to solve it. you solve it one step at a time just like you would do if you were working on paper. except you don't have to do the math in your head or write down (remember) the intermediate answers.

The best way to learn RPN is to use it. So if you haven't already done so, download Livingsoftware's Euclid, install it, launch it and open the calculator. Then work the simple examples provided below. The examples include step by step key strokes with some discussion on each type of math operation. Before you are through with the examples you will be (mathematically speaking) fully reversed and Polish.

While working through the examples keep in mind that when using RPN you put numbers or a number on the stack, and then select the operation you want to perform. (square root, addition, multiplication, etc.) Euclid takes the number or numbers needed for that particular operation from the stack, performs the math and places the result back on the stack where it is displayed and possibly used for further computations.

When entering two (or more) numbers for use in a calculation, the numbers must be separated with a space, a comma, the Enter key, or the calculator Enter button. This entry step is allowed but not required* where a number is followed by a math operator or command.
* This step is not required because Euclid, as part of the process of each command, operation, or function, first checks the entry register for pending entries, and if necessary provides the entry step before performing it's designated function or operation. In other words, if it needs to be done, and you don't do it, then Euclid will.

Most of the time the calculator displays the contents of the stack's X register, which is either the number that was last entered or the result of the last operation. However, as a new number is entered, the display switches temporarily, to show the number as it is keyed into the entry register. As soon as the entry is completed, the content of the entry register is moved to the stack and the display switches back to show the new entry on the stack, formatted to whatever precision the display is currently set.

Examples

After you have installed and launched Euclid, open the calculator by clicking on the Euclid icon in the system tray on your task bar.

If necessary, use the cursor keys (up, down, left & right arrow keys) to move the calculator on your screen so you can comfortably use the calculator and still view these examples.

Type the Stack command "STK" to open the stack display window so you can watch how the numbers are handled by the stack as you step through the procedures for each example.

A manual entry step is included before the math operation steps purely to demonstrate the status of the stack as it exists immediately before the math operation. These otherwise unnecessary entry steps are marked where they occur in each example with a double asterisk "**". Keep in mind that except but for the purpose of this stack demonstration, these steps would be omitted and these stack entries would be accomplished by the math operation as a normal part of it's process.


Example 1. Addition (35.7 + 15.2)

Key in 35.7
[Enter]

Notice as you key in the first number the calculator display shows the number as it is being entered, after the [Enter] the stack display shows the number in the x register, and that the display has switched to show the stack.

Key in 15.2
[Enter]**

This time notice that after you press [Enter], the second number is in the x register and the first number is now in the y register.

[+] Click the "+" button or press [+] on the keyboard to add the numbers.

Answer 50.90

Ok, this is what happened when you added the two numbers. Euclid took two numbers from the stack, added them and put the answer back on the stack. When Euclid takes a number from the stack it takes the number from the x register. The next number on the stack becomes available because when you take a number from the x register the number in the y register replaces the number taken from x register and it in turn is replaced by the next level the (z register) which is replaced by the t register and so on for each remaining register in the stack.

Leaving the result of this simple addition problem on the stack, and with these details fresh in mind let's continue with a few more examples.


Example 2. Subtraction (17.3 - 6.1)

Key in 17.3
[Enter]

Notice the previous result is pushed to the y register and the first number of this example is placed in the x register.

Key in 6.1
[Enter]**

Now 6.1 is in the x register, the first number, 17.3 is in the y register and the answer from the previous problem has been pushed to the z register.

[-] subtract the second number from the first.

Answer 11.20

Again, Euclid takes two numbers from the stack, performs the math (in this case subtracts the first number taken from the stack from the second number taken from the stack) and puts the answer back on the stack.

Now we have the answer to this example problem in the x register and the answer to the first example problem in the y register. We could clear the stack and start another example but it's not necessary. In fact it is never necessary to clear the calculator stack before beginning a new problem. Numbers left on the stack will eventually be pushed off the end of the stack and discarded. However, it is not uncommon that you need to refer again to previous solutions or even need to use them again later in a problem you are working on only to find them patiently waiting in some other register in the stack. In this case we will use both of these answers in the next example.


Example 3. Multiplication (50.9 * 11.2)

This example asks for the product of two numbers. The two numbers happen to be our answers to the previous two examples. We could start from scratch, by entering the two numbers, and then press the multiplication operator [*] for the answer. But, since we conveniently left the two numbers on the stack the obvious method of solving this example problem is simply to press the multiplication operator, and expect Euclid to take the two numbers from the stack multiply them and place the answer back on the stack, which is exactly what it will do.

[*] perform the multiplication.

Answer 570.08


Example 4. Division(16 / 3)

Key in 16
[Enter]
Key in 3
Enter**
[/]

Answer 5.33

Euclid takes the two numbers from the stack, divides the first number it takes from the stack into the second number from the stack and places the result back on the stack.

It is somewhat important that your are aware that when a math operation requiring two numbers is performed Euclid always mathematically applies the first number it takes from the stack to the second number It takes from the stack. (ie. the first number is added to the second number, the first number is subtracted from the second number, etc). For some operations this fact is immaterial, x + y is the same as y + x. But for division or subtraction and other operations it is mathematically important.

Now that we have explored how the stack operates, we can simplify the discussions pertaining to the numbers on the stack or taken from the stack, and make the order of the numbers used in operations more obvious, by refering to the number that is (or was) in the x register as X. Likewise Y will represent the number that is (or was) in the y register at the time we initiate a function or operation.


Example 5. Mixed operations (3 * 1.55 + 4.3) / (12.4 - 6.5)

This example includes all 4 of the basic math operators and expresses their use in the equation as one problem. Parentheses and rules based on the left to right orientation of the factors as well as the mathematical hierarchy of the operators are often used in an expression to dictate the order of execution which can be crucial in determining the correct solution to a problem.

We use our knowledge of these rules and the parentheses given in a specific problem to organize the problem into a sequence of simple intermediate operations which result in intermediate solutions that will then be used as factors for operations at the next level in the sequence.

In this example problem, those rules and the parentheses indicate that we need to multiply 3 * 1.5 and to that result we need to add 4.3 leaving this factor pending we next need to subtract 6.5 from 12.4 and then divide the resulting difference into our pending factor for the final solution*.
Notice how the stack handles the intermediate solutions as you perform the steps provided below to solve this example.

(3 * 1.55 + 4.3) / (12.4 - 6.5)

Key in 3
[Enter]
Key in 1.55
[Enter]**
[*]
Key in 4.3
[Enter]**
[+]
Key in 12.4
[Enter]
Key in 6.5
[Enter]**
[-]
[/]

Answer 1.52

* The "final solution" label used here is tentative. Any answer, as we have already seen, may in fact turn out to be only a factor within the context of a larger problem.

The point of this example is that no mater how complicated a math problem is, it can almost always be solved by separating it into simple terms, as we did here, using RPN and the stack capabilities of Euclid.

Look again at this same problem and the solution steps expressed below in a different form.

(3 * 1.55 + 4.3) / (12.4 - 6.5) the original problem (algebraic notation)

3 [Enter] 1.55 [*] 4.3 [+] 12.4 [Enter] 6.5 [-] [/] the solution Reverse Polish Notation

Notice I've left out the unnecessary [Enter]** steps, and shown the steps left to right rather than each on a separate line.

Keep these concepts in mind as we introduce the other types of operators and functions of Euclid in the remaining examples because everything we have said up to now applies to everything that follows.


Example 6. Reciprocal or [1/X](use the Reciprocal of 5 to calculate the 5th root of 125)

125 [Enter] 5 [1/x] [^]

Key in 125
[Enter]
Key in 5
[Enter]**
[1/x] (the reciprocal key)
[^] (the power function Y X), raise Y (125) to X (1/5)

Answer 2.63

Because the need for the reciprocal of a number (1 divided by that number) is so common in mathematical equations, [1/x] is included as an Euclid function.


Example 7. Exchange X & Y

Enter 5, then enter 3, then divide the 3 by the 5

5 [Enter] 3 [XCH] [/]

Key in 5
[Enter]
Key in 3
[Enter]**
[XCH] swap the contents of X & Y
[/] Divide

Where the order of X & Y is significant (ie. subtraction, division, etc.) the [XCH] function provides a convenient means of swapping the contents of the X & Y registers.


Example 8. Tax (Calculate and then add the sales tax on $97.50)

97.5 [TAX][+]

Key in 97.5
[Enter]**
[TAX] (calculate and enter the tax on x)
[+] (Add the tax to the value taxed)

Answer 105.54 (using the default tax rate of 8.25%) The tax function calculates the tax on the value of X using the installed tax rate. If you have not already done so you should set the tax rate for Euclid to reflect your local sales tax rate. (See the Installation and Configuration Section for the details on setting the tax rate).


Example 9. Percent (discount $37.50 by 14%)

37.5 [Enter] 14 [%] [-]

Key in 37.5
[Enter]
key in 14
[Enter]**
[%] (calculate and enter X percent of Y)
[-] (subtract the calculated discount from the value)


Example 10. Calculate the area of a 4.7" circle

The square function [sqr] used below is one of several operators for which there is no actual key assigned, or button provided on the calculator. Operators are accessed by typing the three character name associated with the function.
(See the Command Table for a list of all of the available operator names and their usage).

use: Area = pi ( r 2)

4.7 [Enter] 2 [/] [sqr] [PIE] [*]

Key in 4.7
[Enter]
Key in 2
[Enter]**
[/] Calculates the radius (half of the diameter)
[sqr] Calculates the square of the radius
[PIE] Enters the constant pi to a ridiculous degree of precision
[*] Completes the area calculation

Answer: 17.35 in.2


Example 11. Rectangular to Polar Conversion

Convert the rectangular coordinates (23.8,75.6) to a vector (polar coordinates)

75.6 [Enter] 23.8 [POL]

Key in 75.6
[Enter] Enter the rectangular coordinate Y value
Key in 23.8
[Enter]** Enters the rectangular coordinate X value
[POL] Performs the conversion.

Results - A vector of 79.26 units @ 17.47 degrees or 0.3 radians

(USE [XCH] to view the angle and [Rad] to espress the angle in radians)

This function converts the rectangular coordinates x & y to polar coordinates (radius and angle). The resulting angle replaces the y coordinate in the y register and the resulting radius replaces the x coordinate in the x register. The angular value calculated is expressed in either degrees or radians depending on the current trigonomic mode setting for Euclid.


Example 12. Polar to Rectangular Conversion Convert the vector with polar coordinates of 5 @ 36.869 degrees to rectangular coordinates x & y

36.869 [Enter] 5 [REC]

Key in 36.869
[Enter] Enters the angle in degrees*
Key in 5
[Enter]** Enters the vector magnitude or radial (radius)
[REC]

Results - X = 4, Y = 3

*This example assumes Euclid's trigonomic mode is configured to work in degrees (the default). If you've set your trigonomic mode to radians, then an additional step is required at this point in the example. Type the [RAD] command after entering the value for degrees to convert this value from degrees to radians before continuing.


Example 13. Trigonometry - Sine of 30 radians = sine(30)

30 [DEG] [SIN]

This example also assumes the trigonomic mode is degrees (the default)

Key in 30
[Enter]** the angle in radians
[DEG] convert the angle to degrees,
[SIN] Calculate the sine of X where X is the angle

Answer 0.5

The trigonomic functions sine, cosine, tangent, and cotangent, expect an angle in X expressed in either degrees or radians, according to the current trigonomic mode.
Also, the inverse trigonomic functions, Arc-Sine, Arc-Cosine, Arc-Tangent and Arc-Cotangent, all return in X the angle expressed as either degrees or radians, according to the current trigonomic mode.


Transcendental Logarithmic Functions

Example 14. Common Logarithm - Calculate the Common Logarithm (base 10) of 256

Key in 256
[Enter]**
[LOG] Common Logarithm, Log10(256)

Answer 2.41

Note: X must be a value greater than zero.


Example 15. Exponentiation Raise 10 to power of X where X = 2.40824

Key in 2.40824
[Enter]**
[EXP]

Answer (10) 2.40824 = 256

Note: Exponential results for values of X approaching 17 become to large for the display to handle in this version. At some point in this area Euclid gives up and raises a display overflow error.


Example 16. Natural Logarithm - Calculate the Natural Logarithm (base e) of 256

Key in 256
[Enter]**
[LNA]
(Natural Logarithm)

Answer Loge(256) = 5.55

Note: X must be a value greater than zero.


Example 17. Antilog - raise the constant e to the power of X where X = 5.54517

Key in 5.54517
[Enter]**
[ANL]
(Natural Antilogarithm)

Answer (e)5.54517 = 256

Note: The natural antilog results for values of X greater than 39 rapidly become too large for the display to handle in this version. At some point, after the value of X exceeds 39, Euclid raises a display overflow error.



Introduction to RPN

In the 1920's, Jan Lukasiewicz a Polish logistician described a system by which mathematical expressions could be unambiguously specified without parentheses by placing the operators immediately before the operands (prefix).

example...

( 7 x 5 ) + ( 3 x 6)
could be expressed as
+ x 7, 5 x 3, 6
He patriotically dubbed this new notation system "Polish Notation" in honor of his homeland.

Soon after this revelation the developing computer science community realized that by reversing the order, operands first then the operators, (postfix), they could enter the rearranged equation into a program, and a computer using the program could put the operands onto a last in first out stack, and perform the operations as they occurred using the numbers from the stack. This postfix notation system of coding equations made it relatively easy to program and solve extremely complicated mathematical equations in computer languages of all types.

In the late 60's while developing their portable electronic calculator, Hewlett Packard recognized that not only was this backwards "Polish Notation" coupled with the stack easy to program, it was "easy to use". They incorporated this system into their development project, named it "Reverse Polish Notation" to honor the originator of the concept, and introduced it to the world as RPN in 1972 with the announcement of the "HP-35 Pocket Electronic Slide Rule". The World's first pocket calculator that included transcendental functions and could be used to easily solve complex mathematical equations.

Today the elegance and simple consistency of the RPN driven stack based calculator continues to serve the growing needs of the most productive people in the world.

Back to Euclid



Euclid User's Manual © 2002-2007 LivingSoftware